package cn.growthgate.fgo.entity.enums;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IEnum;

public enum ServantTrait implements IEnum {

	RIDING(0, "骑乘"),
	HUMANOID(1, "人型"),
	ENUMA_ELISH(2, "从者（持有特别的星之力的从者除外）"),
	EARTH_OR_HEAVEN(3, "天/地从者"),
	MYSTIC_SLAYER(4, "天/地从者（拟似从者和亚从者除外）"),
	DRAGON(5, "龙"),
	ALTRIA_FACE(6, "阿尔托莉雅脸"),
	ARTHUR(7, "亚瑟"),
	KING(8, "王"),
	ROMAN(9, "罗马"),
	LOVED_ONE(10, "所爱之人"),
	DIVINITY(11, "神性"),
	GREEK_MYTHOLOGY_MALES(12, "希腊神话系男性"),
	BEAST(13, "猛兽"),
	DEMONIC(14, "魔性"),
	ILLYA(15, "伊莉雅斯菲尔"),
	LARGE(16, "超巨大"),
	THREAT_TO_HUMANITY(17, "人类威胁");

	private int value;
	private String desc;

	private ServantTrait(final int value, final String desc) {
		this.value = value;
		this.desc = desc;
	}

	@Override
	public Serializable getValue() {
		return value;
	}

	public String getDesc() {
		return desc;
	}

	@Override
	public String toString() {
		return getDesc();
	}
	
}
